package io.chenglicun.modules.knowledge.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;
import java.util.Date;

/**
 * 知识库额外固定问题配置
 *
 * @author shicong 705740711@qq.com
 * @since 1.0 2024-05-10
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class KnowledgeExtraExcel {
    @ExcelProperty(value = "id", index = 0)
    private Long id;
    @ExcelProperty(value = "标题", index = 1)
    private String title;
    @ExcelProperty(value = "业务类型", index = 2)
    private String type;
    @ExcelProperty(value = "正文类型0 图片，1 视频", index = 3)
    private String contentType;
    @ExcelProperty(value = "正文内容", index = 4)
    private String content;
    @ExcelProperty(value = "是否发布", index = 5)
    private Boolean hasPublish;
    @ExcelProperty(value = "备注", index = 6)
    private String remark;
    @ExcelProperty(value = "创建者", index = 7)
    private Long creator;
    @ExcelProperty(value = "创建时间", index = 8)
    private Date createDate;
    @ExcelProperty(value = "更新者", index = 9)
    private Long updater;
    @ExcelProperty(value = "更新时间", index = 10)
    private Date updateDate;
}